<?php namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class ProjectDomain extends Model {

	protected $table = 'project_domain';
	protected $fillable = ["cate_id", "project_id"];

	public function domain()
	{
		return $this->hasOne("App\Models\Domains", "id", "cate_id");
	}

}
